﻿using Inovout.Kuajing.Models;
using Inovout.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inovout.Kuajing.Services
{
    public class ShipperService : RepositoryService<Shipper>
    {

        public Shipper GetByCode(string code) 
        {

            return base.Repository.Query().Single(c => c.Code.Equals(code));
        }
    
    }
}
